package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("employee")
public class Employee implements Serializable{
 @TableId(type = IdType.AUTO)
    private long id;


    private String name;

    @TableField("username")
    private String userName;

    @TableField("password")
    private String passWord;

    //店家名字
    @TableField("businessname")
    private String businessName;

    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

}
